Repository navigation
fix(quantum): apply monitor_config_defaults to cron check-ins - #1265
Merged
solnic merged 1 commit intoNov 12, 2026
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
integrations: [monitor_config_defaults: ...]is documented as applying to cron jobs reported by "one of the integrations", but the Quantum integration ignored it:check_in_opts/2builtmonitor_configfrom onlyscheduleandtimezone, somax_runtime,checkin_margin,failure_issue_threshold, etc. were never sent for Quantum jobs. The Oban integration already merges these defaults (Sentry.Config.integrations()[:monitor_config_defaults]).Quantum now starts from
monitor_config_defaultsand merges the job'sscheduleandtimezoneon top, the same precedence Oban uses.Added a test in
test/sentry/integrations/quantum/cron_test.exs, adapted from the Oban "uses default monitor configuration in Sentry's config if present" test. It fails onmaster(the three default keys are missing from the check-in body) and passes with the fix (mix test test/sentry/integrations/quantum/cron_test.exs, Elixir 1.18 / OTP 27).Issues
None filed; found by comparing the Quantum and Oban cron integrations.
This change was generated with assistance from Claude Code.